package com.stu.day02;

/**
 * int... arrs
 * @author zy
 * @date 2025/1/23 20:19
 */
public class Arr_Demo {
    public static void main(String[] args) {
        test01(1,2,3,4,5);
        int m = 'a';  //自动类型转换  低->高
        System.out.println("0: "+(int)'0');  //48
        System.out.println("A: "+(int)'A');  //65
        System.out.println("a: "+m);  //97

    }

    public static void test01(int... m) {
        for (int i:m)
            System.out.printf("%d\t",i);
        System.out.println();
    }
}
